home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 52 / Amiga Format AFCD52 (Issue 136, May 2000).iso / -serious- / programming / c / roboticsdp / preview < prev    next >
Text File  |  2000-02-28  |  1KB  |  19 lines

  1. ; Show some info
  2. (message "MINISSC LIBRARY PREVIEW\n\nThis script sets up a temporary environment for one of the demo programs (LowRateScan) enclosed in the RDP in order to demonstrate minissc.library functions.\n\nNo permanent installation will be made." (all))
  3.  
  4. ; Wait for Mini SSC II configuration
  5. (message "CONFIGURING MINI SSC II\n\nSet off all configuration jumpers (R, I, and B) on the Mini SCC II board and plug the servo into the board's output number 0. Connect Mini SSC II into the Amiga serial port and connect power to the servo and to the board.\n\nWhen done, select 'Proceed' to continue." (all))
  6.  
  7. ; Make assign to local libs
  8. (run "C:ASSIGN LIBS: libs ADD" (prompt "Assigning temporary LIBS:...") (help ""))
  9.  
  10. ; Execute LowRateScan
  11. (message "DEMONSTRATION\n\nSelect 'Proceed' to execute the demonstration program 'LowRateScan'. The program will command servo number 0 to travel through its full motion range slowly and smoothly." (all))
  12.  
  13. (working "Executing LowRateScan.\n\nPlease wait about 20 seconds.")
  14. (run "Examples/LowRateScan/Bin/LowRateScan")
  15.  
  16. ; Remove local lib assign
  17. (run "ASSIGN LIBS: libs REMOVE" (prompt "Unassigning temporary LIBS:...") (help ""))
  18.  
  19. (exit (quiet))